package com.tencent.wxcloudrun.service;

import com.tencent.wxcloudrun.model.User;
import org.springframework.stereotype.Service;

import java.util.Optional;

/**
 * 用户服务接口
 */
@Service
public interface UserService {
    Optional<User> findByMobile(String mobile);
    void register(User user);
}